package cz.pproproj.aaservice.aasbllmodule.authentication;

/**
 * Immutable representation of user credentials
 * todo remove this class Credentials from GUI is enough
 * @author David
 * @since 17. 1. 2015
 */
public class AuthenticationUser {

    private final String _userName;

    private final String _password;

    public AuthenticationUser(String userName, String password) {
        _userName = userName;
        _password = password;
    }

    public String getUserName() {
        return _userName;
    }

    public String getPassword() {
        return _password;
    }

    @Override
    public String toString() {
        return "AuthenticationUser{" +
                "_userName='" + _userName + '\'' +
                ", _password='" + _password + '\'' +
                '}';
    }
}
